<template>
    <div>
        <router-view></router-view>
        <Footer v-show="$route.meta.showFooter"></Footer>
    </div>
</template>

<script>
import {mapAction} from 'vuex'
import Footer from './components/Footer/Footer.vue'

export default {
    mounted () {
        this.$store.dispatch('getAddress')
        this.$store.dispatch('getUserInfo')
    },
    components: {
        Footer
    }
}
</script>

<style lang="stylus" scoped>

</style>
